package com.inossem.warehousestorage_inossem.bean.receive;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/6/13.
 */

public class ReceiveDeliveryOverviewBean extends Bean {


    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"deliveryNumber":"SHD1706108957","supplier":"宝鸡有一群怀揣着梦想的少年相信在牛大叔的带领下会创造生命的奇迹网络科技有限公司","contract":"2016CG900F001","purchaseNumber":"4100000008","purchaseType":"ZD41","supplierContactsTel":"13890998711","supplierContactsName":"张二虎","directSupply":"0","receiveList":[{"status":"0","receiveNumber":"YSD1706108957","receiveDate":"2017-06-10","receiveCreator":"陈冠希蔡依林"},{"status":"1","receiveNumber":"YSD1706105789","receiveDate":"2017-06-10","receiveCreator":"陈冠希蔡依林"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * deliveryNumber : SHD1706108957
         * supplier : 宝鸡有一群怀揣着梦想的少年相信在牛大叔的带领下会创造生命的奇迹网络科技有限公司
         * contract : 2016CG900F001
         * purchaseNumber : 4100000008
         * purchaseType : ZD41
         * supplierContactsTel : 13890998711
         * supplierContactsName : 张二虎
         * directSupply : 0
         * receiveList : [{"status":"0","receiveNumber":"YSD1706108957","receiveDate":"2017-06-10","receiveCreator":"陈冠希蔡依林"},{"status":"1","receiveNumber":"YSD1706105789","receiveDate":"2017-06-10","receiveCreator":"陈冠希蔡依林"}]
         */

        private String deliveryNumber;
        private String supplier;
        private String contract;
        private String purchaseNumber;
        private String purchaseType;
        private String supplierContactsTel;
        private String supplierContactsName;
        private String directSupply;
        private List<ReceiveListBean> receiveList;

        public String getDeliveryNumber() {
            return deliveryNumber;
        }

        public void setDeliveryNumber(String deliveryNumber) {
            this.deliveryNumber = deliveryNumber;
        }

        public String getSupplier() {
            return supplier;
        }

        public void setSupplier(String supplier) {
            this.supplier = supplier;
        }

        public String getContract() {
            return contract;
        }

        public void setContract(String contract) {
            this.contract = contract;
        }

        public String getPurchaseNumber() {
            return purchaseNumber;
        }

        public void setPurchaseNumber(String purchaseNumber) {
            this.purchaseNumber = purchaseNumber;
        }

        public String getPurchaseType() {
            return purchaseType;
        }

        public void setPurchaseType(String purchaseType) {
            this.purchaseType = purchaseType;
        }

        public String getSupplierContactsTel() {
            return supplierContactsTel;
        }

        public void setSupplierContactsTel(String supplierContactsTel) {
            this.supplierContactsTel = supplierContactsTel;
        }

        public String getSupplierContactsName() {
            return supplierContactsName;
        }

        public void setSupplierContactsName(String supplierContactsName) {
            this.supplierContactsName = supplierContactsName;
        }

        public String getDirectSupply() {
            return directSupply;
        }

        public void setDirectSupply(String directSupply) {
            this.directSupply = directSupply;
        }

        public List<ReceiveListBean> getReceiveList() {
            return receiveList;
        }

        public void setReceiveList(List<ReceiveListBean> receiveList) {
            this.receiveList = receiveList;
        }

        public static class ReceiveListBean {
            /**
             * status : 0
             * receiveNumber : YSD1706108957
             * receiveDate : 2017-06-10
             * receiveCreator : 陈冠希蔡依林
             */

            private String status;
            private String receiveNumber;
            private String receiveDate;
            private String receiveCreator;

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getReceiveNumber() {
                return receiveNumber;
            }

            public void setReceiveNumber(String receiveNumber) {
                this.receiveNumber = receiveNumber;
            }

            public String getReceiveDate() {
                return receiveDate;
            }

            public void setReceiveDate(String receiveDate) {
                this.receiveDate = receiveDate;
            }

            public String getReceiveCreator() {
                return receiveCreator;
            }

            public void setReceiveCreator(String receiveCreator) {
                this.receiveCreator = receiveCreator;
            }
        }
    }
}
